package com.ljkj.blockpay.network.response;

/**
 * 接口错误码
 */
public class HttpErrorCode {
    /**
     * 空数据
     */
    public final static String EMPTY = "0";

    /**
     * 未知的错误类型
     */
    public final static String ERROR = "-1";
    public final static String SOCKET_TIME_OUT = "-2";
    public final static String NET_ERROR = "-3";
    public final static String OTHER_IO = "-4";
    public final static String JSON_ERROR = "-5";

    /**
     * 请求的参数错误
     */
    public final static int ARGUMENTS = 499;
    /**
     * 服务器内部错误
     */
    public final static int SERVER = 500;

    public final static String SUCCESS = "0";
    /**
     * Token错误
     */
    public final static String TOKEN_FAILED = "2";
    /**
     * 无权限
     */
    public final static String FREEZE_ACCOUNT = "3";
    /**
     * 无权限
     */
    public final static String FREEZE_DEVICE = "4";
    /**
     * 内部定义错误
     */
    public final static String CUSTOM_ERROR = "1";
}
